package com.ficus.road.maintain.authority.vo;

import com.ficus.road.maintain.authority.dto.UserDTO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Set;

/**
 * @author xiawen yang
 * @date 2021/8/25 下午7:27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RoleVO {

    private String roleId;

    private String roleName;

    private String createdBy;

    private Long createTime;

    @NotNull(message = "权限配置不能为空")
    private Set<String> frontConfigs;

    private List<UserDTO> userInfos;
}
